Integrand size = 22, antiderivative size = 166 \[ \int x^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \, dx=\frac {b d^7 n \sqrt {x}}{4 e^7}-\frac {b d^6 n x}{8 e^6}+\frac {b d^5 n x^{3/2}}{12 e^5}-\frac {b d^4 n x^2}{16 e^4}+\frac {b d^3 n x^{5/2}}{20 e^3}-\frac {b d^2 n x^3}{24 e^2}+\frac {b d n x^{7/2}}{28 e}-\frac {1}{32} b n x^4-\frac {b d^8 n \log \left (d+e \sqrt {x}\right )}{4 e^8}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \]
[Out]
Time = 0.09 (sec) , antiderivative size = 166, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {2504, 2442, 45} \[ \int x^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \, dx=\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )-\frac {b d^8 n \log \left (d+e \sqrt {x}\right )}{4 e^8}+\frac {b d^7 n \sqrt {x}}{4 e^7}-\frac {b d^6 n x}{8 e^6}+\frac {b d^5 n x^{3/2}}{12 e^5}-\frac {b d^4 n x^2}{16 e^4}+\frac {b d^3 n x^{5/2}}{20 e^3}-\frac {b d^2 n x^3}{24 e^2}+\frac {b d n x^{7/2}}{28 e}-\frac {1}{32} b n x^4 \]
[In]
[Out]
Rule 45
Rule 2442
Rule 2504
Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int x^7 \left (a+b \log \left (c (d+e x)^n\right )\right ) \, dx,x,\sqrt {x}\right ) \\ & = \frac {1}{4} x^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )-\frac {1}{4} (b e n) \text {Subst}\left (\int \frac {x^8}{d+e x} \, dx,x,\sqrt {x}\right ) \\ & = \frac {1}{4} x^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right )-\frac {1}{4} (b e n) \text {Subst}\left (\int \left (-\frac {d^7}{e^8}+\frac {d^6 x}{e^7}-\frac {d^5 x^2}{e^6}+\frac {d^4 x^3}{e^5}-\frac {d^3 x^4}{e^4}+\frac {d^2 x^5}{e^3}-\frac {d x^6}{e^2}+\frac {x^7}{e}+\frac {d^8}{e^8 (d+e x)}\right ) \, dx,x,\sqrt {x}\right ) \\ & = \frac {b d^7 n \sqrt {x}}{4 e^7}-\frac {b d^6 n x}{8 e^6}+\frac {b d^5 n x^{3/2}}{12 e^5}-\frac {b d^4 n x^2}{16 e^4}+\frac {b d^3 n x^{5/2}}{20 e^3}-\frac {b d^2 n x^3}{24 e^2}+\frac {b d n x^{7/2}}{28 e}-\frac {1}{32} b n x^4-\frac {b d^8 n \log \left (d+e \sqrt {x}\right )}{4 e^8}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \\ \end{align*}
Time = 0.09 (sec) , antiderivative size = 157, normalized size of antiderivative = 0.95 \[ \int x^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \, dx=\frac {a x^4}{4}-\frac {1}{8} b e n \left (-\frac {2 d^7 \sqrt {x}}{e^8}+\frac {d^6 x}{e^7}-\frac {2 d^5 x^{3/2}}{3 e^6}+\frac {d^4 x^2}{2 e^5}-\frac {2 d^3 x^{5/2}}{5 e^4}+\frac {d^2 x^3}{3 e^3}-\frac {2 d x^{7/2}}{7 e^2}+\frac {x^4}{4 e}+\frac {2 d^8 \log \left (d+e \sqrt {x}\right )}{e^9}\right )+\frac {1}{4} b x^4 \log \left (c \left (d+e \sqrt {x}\right )^n\right ) \]
[In]
[Out]
\[\int x^{3} \left (a +b \ln \left (c \left (d +e \sqrt {x}\right )^{n}\right )\right )d x\]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 148, normalized size of antiderivative = 0.89 \[ \int x^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \, dx=\frac {840 \, b e^{8} x^{4} \log \left (c\right ) - 140 \, b d^{2} e^{6} n x^{3} - 210 \, b d^{4} e^{4} n x^{2} - 420 \, b d^{6} e^{2} n x - 105 \, {\left (b e^{8} n - 8 \, a e^{8}\right )} x^{4} + 840 \, {\left (b e^{8} n x^{4} - b d^{8} n\right )} \log \left (e \sqrt {x} + d\right ) + 8 \, {\left (15 \, b d e^{7} n x^{3} + 21 \, b d^{3} e^{5} n x^{2} + 35 \, b d^{5} e^{3} n x + 105 \, b d^{7} e n\right )} \sqrt {x}}{3360 \, e^{8}} \]
[In]
[Out]
Time = 8.47 (sec) , antiderivative size = 155, normalized size of antiderivative = 0.93 \[ \int x^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \, dx=\frac {a x^{4}}{4} + b \left (- \frac {e n \left (\frac {2 d^{8} \left (\begin {cases} \frac {\sqrt {x}}{d} & \text {for}\: e = 0 \\\frac {\log {\left (d + e \sqrt {x} \right )}}{e} & \text {otherwise} \end {cases}\right )}{e^{8}} - \frac {2 d^{7} \sqrt {x}}{e^{8}} + \frac {d^{6} x}{e^{7}} - \frac {2 d^{5} x^{\frac {3}{2}}}{3 e^{6}} + \frac {d^{4} x^{2}}{2 e^{5}} - \frac {2 d^{3} x^{\frac {5}{2}}}{5 e^{4}} + \frac {d^{2} x^{3}}{3 e^{3}} - \frac {2 d x^{\frac {7}{2}}}{7 e^{2}} + \frac {x^{4}}{4 e}\right )}{8} + \frac {x^{4} \log {\left (c \left (d + e \sqrt {x}\right )^{n} \right )}}{4}\right ) \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 128, normalized size of antiderivative = 0.77 \[ \int x^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \, dx=\frac {1}{4} \, b x^{4} \log \left ({\left (e \sqrt {x} + d\right )}^{n} c\right ) + \frac {1}{4} \, a x^{4} - \frac {1}{3360} \, b e n {\left (\frac {840 \, d^{8} \log \left (e \sqrt {x} + d\right )}{e^{9}} + \frac {105 \, e^{7} x^{4} - 120 \, d e^{6} x^{\frac {7}{2}} + 140 \, d^{2} e^{5} x^{3} - 168 \, d^{3} e^{4} x^{\frac {5}{2}} + 210 \, d^{4} e^{3} x^{2} - 280 \, d^{5} e^{2} x^{\frac {3}{2}} + 420 \, d^{6} e x - 840 \, d^{7} \sqrt {x}}{e^{8}}\right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 348 vs. \(2 (134) = 268\).
Time = 0.32 (sec) , antiderivative size = 348, normalized size of antiderivative = 2.10 \[ \int x^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \, dx=\frac {840 \, b e x^{4} \log \left (c\right ) + 840 \, a e x^{4} + {\left (\frac {840 \, {\left (e \sqrt {x} + d\right )}^{8} \log \left (e \sqrt {x} + d\right )}{e^{7}} - \frac {6720 \, {\left (e \sqrt {x} + d\right )}^{7} d \log \left (e \sqrt {x} + d\right )}{e^{7}} + \frac {23520 \, {\left (e \sqrt {x} + d\right )}^{6} d^{2} \log \left (e \sqrt {x} + d\right )}{e^{7}} - \frac {47040 \, {\left (e \sqrt {x} + d\right )}^{5} d^{3} \log \left (e \sqrt {x} + d\right )}{e^{7}} + \frac {58800 \, {\left (e \sqrt {x} + d\right )}^{4} d^{4} \log \left (e \sqrt {x} + d\right )}{e^{7}} - \frac {47040 \, {\left (e \sqrt {x} + d\right )}^{3} d^{5} \log \left (e \sqrt {x} + d\right )}{e^{7}} + \frac {23520 \, {\left (e \sqrt {x} + d\right )}^{2} d^{6} \log \left (e \sqrt {x} + d\right )}{e^{7}} - \frac {6720 \, {\left (e \sqrt {x} + d\right )} d^{7} \log \left (e \sqrt {x} + d\right )}{e^{7}} - \frac {105 \, {\left (e \sqrt {x} + d\right )}^{8}}{e^{7}} + \frac {960 \, {\left (e \sqrt {x} + d\right )}^{7} d}{e^{7}} - \frac {3920 \, {\left (e \sqrt {x} + d\right )}^{6} d^{2}}{e^{7}} + \frac {9408 \, {\left (e \sqrt {x} + d\right )}^{5} d^{3}}{e^{7}} - \frac {14700 \, {\left (e \sqrt {x} + d\right )}^{4} d^{4}}{e^{7}} + \frac {15680 \, {\left (e \sqrt {x} + d\right )}^{3} d^{5}}{e^{7}} - \frac {11760 \, {\left (e \sqrt {x} + d\right )}^{2} d^{6}}{e^{7}} + \frac {6720 \, {\left (e \sqrt {x} + d\right )} d^{7}}{e^{7}}\right )} b n}{3360 \, e} \]
[In]
[Out]
Time = 1.80 (sec) , antiderivative size = 137, normalized size of antiderivative = 0.83 \[ \int x^3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )^n\right )\right ) \, dx=\frac {a\,x^4}{4}-\frac {b\,n\,x^4}{32}+\frac {b\,x^4\,\ln \left (c\,{\left (d+e\,\sqrt {x}\right )}^n\right )}{4}+\frac {b\,d\,n\,x^{7/2}}{28\,e}-\frac {b\,d^6\,n\,x}{8\,e^6}-\frac {b\,d^8\,n\,\ln \left (d+e\,\sqrt {x}\right )}{4\,e^8}-\frac {b\,d^2\,n\,x^3}{24\,e^2}-\frac {b\,d^4\,n\,x^2}{16\,e^4}+\frac {b\,d^3\,n\,x^{5/2}}{20\,e^3}+\frac {b\,d^5\,n\,x^{3/2}}{12\,e^5}+\frac {b\,d^7\,n\,\sqrt {x}}{4\,e^7} \]
[In]
[Out]